home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _BB398346FE264BA4A4AC97387F69BD23 < prev    next >
Encoding:
Text File  |  2000-03-27  |  936 b   |  23 lines

  1. #include "../common/header.ds"
  2. output "p:/base/ds/tsr1"
  3.  
  4.  
  5.  
  6. local entity runovertrain
  7. local entity new_train_shake // the camera shake that people wanted
  8. local entity qa_explosion // the explosion at the end of the tunnel
  9. local entity qa_camerashake // the camera shake for the explosion at the end of the tunnel
  10.  
  11. runovertrain = find entity with scripttarget "runovertrain"
  12. new_train_shake = find entity with targetname "new_train_shake"
  13. qa_explosion = find entity with targetname "qa_explosion"
  14. qa_camerashake = find entity with targetname "qa_camerashake"
  15.  
  16. wait .1 seconds 
  17. play sound "Cin/TSR1/Script/Warning.wav" for entity runovertrain at volume 0.9 
  18. wait 2.2 seconds 
  19. use entity runovertrain // triggers the train going
  20. use entity new_train_shake // triggers the camera shake effect
  21. wait 4 seconds 
  22. use entity qa_explosion // the explosion gets triggered
  23. use entity qa_camerashake // triggers the camera shake